package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class sysrolepos {

    // 角色 Id，作为主键
    @Id
    private long id;

    // 交班处理，默认为 true
    private boolean isClassOff = true;

    // 退菜处理，默认为 true
    private boolean isFoodRefund = true;

    // 菜品打折，默认为 true
    private boolean isFoodDiscount = true;

    // 整单打折，默认为 true
    private boolean isAllDiscount = true;

    // 补票打印，默认为 true
    private boolean isPrintRepair = true;

    // 系统设置，默认为 true
    private boolean isSysSetup = true;

    // 赠送菜品，默认为 true
    private boolean isFoodGift = true;

    // 会员充值，默认为 true
    private boolean isUserDeposit = true;

    // 反结帐处理，默认为 true
    private boolean isSettlementUn = true;

    // 会员充值退款，默认为 true
    private boolean isUserDepositRefund = true;

    // 数据清理，默认为 true
    private boolean isClearData = true;

    // 最大折扣，默认为 0
    private double maxDiscountValue = 0;


    private double maxReduceAmount = 9999999;

    // 新增会员，默认为 true
    private boolean isAddUserInfo = true;

    // 新增菜品，默认为 true
    private boolean isAddFoodInfo = true;

    @Generated(hash = 254322284)
    public sysrolepos(long id, boolean isClassOff, boolean isFoodRefund,
            boolean isFoodDiscount, boolean isAllDiscount, boolean isPrintRepair,
            boolean isSysSetup, boolean isFoodGift, boolean isUserDeposit,
            boolean isSettlementUn, boolean isUserDepositRefund,
            boolean isClearData, double maxDiscountValue, double maxReduceAmount,
            boolean isAddUserInfo, boolean isAddFoodInfo) {
        this.id = id;
        this.isClassOff = isClassOff;
        this.isFoodRefund = isFoodRefund;
        this.isFoodDiscount = isFoodDiscount;
        this.isAllDiscount = isAllDiscount;
        this.isPrintRepair = isPrintRepair;
        this.isSysSetup = isSysSetup;
        this.isFoodGift = isFoodGift;
        this.isUserDeposit = isUserDeposit;
        this.isSettlementUn = isSettlementUn;
        this.isUserDepositRefund = isUserDepositRefund;
        this.isClearData = isClearData;
        this.maxDiscountValue = maxDiscountValue;
        this.maxReduceAmount = maxReduceAmount;
        this.isAddUserInfo = isAddUserInfo;
        this.isAddFoodInfo = isAddFoodInfo;
    }

    @Generated(hash = 346787267)
    public sysrolepos() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public boolean getIsClassOff() {
        return this.isClassOff;
    }

    public void setIsClassOff(boolean isClassOff) {
        this.isClassOff = isClassOff;
    }

    public boolean getIsFoodRefund() {
        return this.isFoodRefund;
    }

    public void setIsFoodRefund(boolean isFoodRefund) {
        this.isFoodRefund = isFoodRefund;
    }

    public boolean getIsFoodDiscount() {
        return this.isFoodDiscount;
    }

    public void setIsFoodDiscount(boolean isFoodDiscount) {
        this.isFoodDiscount = isFoodDiscount;
    }

    public boolean getIsAllDiscount() {
        return this.isAllDiscount;
    }

    public void setIsAllDiscount(boolean isAllDiscount) {
        this.isAllDiscount = isAllDiscount;
    }

    public boolean getIsPrintRepair() {
        return this.isPrintRepair;
    }

    public void setIsPrintRepair(boolean isPrintRepair) {
        this.isPrintRepair = isPrintRepair;
    }

    public boolean getIsSysSetup() {
        return this.isSysSetup;
    }

    public void setIsSysSetup(boolean isSysSetup) {
        this.isSysSetup = isSysSetup;
    }

    public boolean getIsFoodGift() {
        return this.isFoodGift;
    }

    public void setIsFoodGift(boolean isFoodGift) {
        this.isFoodGift = isFoodGift;
    }

    public boolean getIsUserDeposit() {
        return this.isUserDeposit;
    }

    public void setIsUserDeposit(boolean isUserDeposit) {
        this.isUserDeposit = isUserDeposit;
    }

    public boolean getIsSettlementUn() {
        return this.isSettlementUn;
    }

    public void setIsSettlementUn(boolean isSettlementUn) {
        this.isSettlementUn = isSettlementUn;
    }

    public boolean getIsUserDepositRefund() {
        return this.isUserDepositRefund;
    }

    public void setIsUserDepositRefund(boolean isUserDepositRefund) {
        this.isUserDepositRefund = isUserDepositRefund;
    }

    public boolean getIsClearData() {
        return this.isClearData;
    }

    public void setIsClearData(boolean isClearData) {
        this.isClearData = isClearData;
    }

    public double getMaxDiscountValue() {
        return this.maxDiscountValue;
    }

    public void setMaxDiscountValue(double maxDiscountValue) {
        this.maxDiscountValue = maxDiscountValue;
    }

    public double getMaxReduceAmount() {
        return this.maxReduceAmount;
    }

    public void setMaxReduceAmount(double maxReduceAmount) {
        this.maxReduceAmount = maxReduceAmount;
    }

    public boolean getIsAddUserInfo() {
        return this.isAddUserInfo;
    }

    public void setIsAddUserInfo(boolean isAddUserInfo) {
        this.isAddUserInfo = isAddUserInfo;
    }

    public boolean getIsAddFoodInfo() {
        return this.isAddFoodInfo;
    }

    public void setIsAddFoodInfo(boolean isAddFoodInfo) {
        this.isAddFoodInfo = isAddFoodInfo;
    }
}
